//-----------------------------------------------------------
//
//-----------------------------------------------------------
class boltFire extends ShockProjFire;

simulated function bool AllowFire()
{
    return ( EnyaraPlayerController(Instigator.Controller).Mana >= AmmoPerFire);
}

function projectile SpawnProjectile(Vector Start, Rotator Dir)
{
    local Projectile p;

    p = Super.SpawnProjectile(Start,Dir);

	EnyaraPlayerController(Instigator.Controller).useMana(15);
    return p;
}

DefaultProperties
{
    AmmoPerFire=15
    FireRate=2.00000
    ProjectileClass=Class'Enyara.FireballProjectile'
}
